<div class="fsh-pop">
    <div id="add_form" class="layui-form">
        <table id="calc" class="layui-hide" lay-filter="calc"></table>
        <input type="hidden" name="fans">
    </div>
</div>
<script>


    layui.use(['layer', 'table'], function () {
        var layer = layui.layer;
        var table = layui.table;

        var fansArr=[];
        var tableObj = table.render({
            id: 'calc',
            elem: '#calc',
            url: '/userCalc/listForPage',
            where:{userid:<%=id%>},
            align: "center",
            cols: [[ //表头
                {type: 'checkbox'},
                {type: 'numbers', title: '序号',width:50},
                {field: 'createdate', title: '计算日期', width: 150, align: 'center',},
                {field: 'width', title: '宽度', width: 150, align: 'center',},
                {field: 'height', title: '厚度', width: 150, align: 'center',},
                {field: 'density', title: '密度', width: 150, align: 'center',},
                {field: 'coverplateThick', title: '盖板厚度', width: 150, align: 'center',},
                {field: 'coverplatePrice', title: '盖板价格', width: 150, align: 'center',},
                {field: 'bottomplateThick', title: '底板厚度', width: 150, align: 'center',},
                {field: 'bottomplatePrice', title: '底板价格', width: 150, align: 'center',},
                {field: 'partitionplateThick', title: '隔板厚度', width: 150, align: 'center',},
                {field: 'partitionplatePrice', title: '隔板价格', width: 150, align: 'center',},
                {field: 'partitionplateNum', title: '隔板数量', width: 150, align: 'center',},
                {field: 'trenchPrice', title: '槽式价格', width: 150, align: 'center',},
                {field: 'laddertypePrice', title: '梯式价格', width: 150, align: 'center',},
                {field: 'trenchPrice', title: '槽式价格', width: 150, align: 'center',}
            ]],
        });
    });
</script>